﻿using System;
using System.Threading;
using System.Threading.Tasks;

namespace duia.Canteenpay.Domain
{
    /// <summary>
    /// 工作单元
    /// </summary>
    public interface IAppUnitOfWork : IDisposable
    {
        Task<int> SaveChangesAsync(CancellationToken cancellationToken = default(CancellationToken));
    }
}
